<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Access-Control-Allow-Origin" charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <!-- Favicon -->
    <link rel="shortcut icon" href="assets/media/image/favicon.png"/>

    <!-- Plugin styles -->
    <link rel="stylesheet" href="vendors/bundle.css" type="text/css">

    <!-- Prism -->
    <link rel="stylesheet" href="vendors/prism/prism.css" type="text/css">

    <!-- App styles -->
    <link rel="stylesheet" href="assets/css/app.css" type="text/css">

</head>

<body>

<div th:if="${error} ne null" th:text="${error}" class="alert alert-danger" role="alert"></div>
<form action="/doDeclaration" method="post">
    当前用户：<span th:text="${session.userName}"></span>
    <br/>
    unitName:
    <input name="unitName" id="unitName" type="text" placeholder="unitName">
    <br/>
    userType:
    <input name="userType" id="userType" type="text" placeholder="userType">
    <br/>
    unitSend:
    <input name="unitSend" id="unitSend" type="text" placeholder="unitSend" th:value="${session.unitSendSession}"
           readonly="true">
    <br/>
    job:
    <div class="form-group">
        <select class="form-control" name="job" id="job">
            <option>1</option>
            <option>2</option>
            <option>3</option>
            <option>4</option>
            <option>5</option>
        </select>
    </div>
    <br/>
    major:
    <input name="major" id="major" type="text" placeholder="major">

    <button type="submit" id="add">确定</button>
</form>

<script src="js/node_modules/jquery/dist/jquery.js"></script>
<!-- Plugin scripts -->
<script src="vendors/bundle.js"></script>
<!-- Prism -->
<script src="vendors/prism/prism.js"></script>
<!-- App scripts -->
<script src="assets/js/app.js"></script>


<script>

</script>
</body>

</html>
